/**
 * 
 */
package co.fitstart.data.handler;


/**
 * @author downpour
 *
 */
public interface SmsSender {
    
    /**
     * 
     * @param mobile
     * @return
     */
    public String generateVerifyCode(String mobile);

    /**
     * 
     * @param mobile
     * @param code
     * @return 
     */
    public boolean sendVerifyCode(String mobile, String code);
    
    /**
     * 
     * @param mobile
     * @param code
     * @param token
     * @return
     */
    public boolean checkVerifyCode(String mobile, String code, String token);
    
}
